package com.example.meizu002.mapper;

import com.example.meizu002.entity.Phone;
import com.example.meizu002.entity.UserTrade;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserTradeMapper {
    List<UserTrade> findAll();

    void addPhone(UserTrade userTrade);

    void deletePhone(int id);

    UserTrade findOne(int id);

    void updatePhone(UserTrade userTrade);
}
